package com.t194.mapper;

import com.t194.pojo.User;
import com.t194.vo.UserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> findAll();

    List<User> findByDto(UserDto dto);

    void update(@Param("userId") Integer userId,@Param("roleId") Integer roleId);

    User findByUserCode(String userCode);
}
